xm-test block-create: use ext3 as filesystem
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 5 Aug 2009 11:06:24 +0000 (12:06 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 5 Aug 2009 11:06:24 +0000 (12:06 +0100)
The current implementation uses ext2 for tests.  The tests currently
fail, because the current kernel does not support ext2 by default.
This patch creates an ext3 filesystem for the tests.

Signed-off-by: Andreas Florath <xen@flonatel.org>
tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py

index b97b70c499b8beb078efc5b35df99e323bb976e1..9ac635ac0f84444d050c5aa94e62dc0f29fb43d8 100644 (file)
@@ -1,7 +1,9 @@
 #!/usr/bin/python
 
 # Copyright (C) International Business Machines Corp., 2005
-# Author: Murillo F. Bernardes <mfb@br.ibm.com>
+# Copyright (C) flonatel GmbH & Co. KG, 2009
+# Authors: Murillo F. Bernardes <mfb@br.ibm.com>
+#          Andreas Florath <xen@flonatel.org>
 
 import re
 
@@ -30,7 +32,7 @@ except ConsoleError, e:
     saveLog(console.getHistory())
     FAIL(str(e))
     
-s, o = traceCommand("mke2fs -q -F /dev/ram1")
+s, o = traceCommand("mke2fs -j -q -F /dev/ram1")
 if s != 0:
     FAIL("mke2fs returned %i != 0" % s)